package run.service.impl;

import entity.Dept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import run.mapper.DeptMapper;
import run.service.DeptService;

/**
 * @author zhangxian
 * @program: parent
 * @description:
 * @date 2022-03-23 10:43:13
 */
@Service
public class DeptServiceImpl implements DeptService {

    @Autowired
    private DeptMapper deptMapper;

    @Override
    public Dept getInfo(String deptNo) {
        return deptMapper.get(deptNo);
    }
}
